package com.study.design.model.structPattern.wrapper;

/**
* @Name: FlyCar
* @Description: 具体装饰角色：飞行功能汽车
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-11 下午12:06:05 
* @Version: V1.0
 */
public class FlyCar extends SuperCar {

	public FlyCar(ICar car) {
		super(car);
	}
	
	/**
	* @Name: fly
	* @Description: 飞行功能
	* @Author: 李超	lc_jack@foxmail.com
	* @Version: V1.0
	* @CreateDate: 2017-2-11 下午12:07:14
	* @Parameters: 
	* @Return: void
	 */
	public void fly() {
		System.out.println("天上飞！");
	}
	
	@Override
	public void move() {
		super.move();
		this.fly() ;
	}

}
